package com.example.school.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName course
 */
@TableName(value ="course")
@Data
public class Course implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "course_id",type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long courseId;

    /**
     * 课程名字
     */
    @TableField(value = "course_name")
    private String courseName;

    /**
     * 星期几
     */
    @TableField(value = "course_day")
    private Integer courseDay;

    /**
     * 开始的周次
     */
    @TableField(value = "course_week_start")
    private Integer courseWeekStart;

    /**
     * 结束的周次
     */
    @TableField(value = "course_week_end")
    private Integer courseWeekEnd;

    /**
     * 开始的节次
     */
    @TableField(value = "course_time_start")
    private Integer courseTimeStart;

    /**
     * 结束的节次
     */
    @TableField(value = "course_time_end")
    private Integer courseTimeEnd;

    /**
     * 上课地点
     */
    @TableField(value = "course_address")
    private String courseAddress;

    /**
     * 课程老师
     */
    @TableField(value = "course_teacher")
    private String courseTeacher;

    /**
     * 逻辑删除
0：未删除
1：已删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 学期
     */
    @TableField(value = "semester_id")
    private Long semesterId;
    /**
     * 学期
     */
    @TableField(value = "grade")
    private String grade;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}